package com.hqyj.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.server.entity.Users;

public interface UsersService extends IService<Users> {


    //用户注册
    public boolean reg(Users u) throws Exception;

    //用户登录
    public Users login(String identify,String password);

    //查询用户
    public Users queryUserByUid(Integer uid);

    //修改用户
    public boolean updateUser(Users u) throws Exception;

    public boolean checkIsReg(String identify);
}
